#include "./wwhs_public.h"
 
 
 
static int wwhs_bus_match(struct device *dev, struct device_driver *drv)
 
{
 
         return 1;
 
}
 
 
 
struct bus_type wwhs_bus_type = {
 
         .name                = "wwhs_bus",
 
         .match               = wwhs_bus_match,
 
};
 
 
 
static int __init wwhs_bus_init()
 
{
 
         wwhs_dbg("bus register");
 
         return bus_register(&wwhs_bus_type);
 
}
 
 
 
static void __exit wwhs_bus_exit()
 
{
 
         wwhs_dbg("bus unregister");
 
         bus_unregister(&wwhs_bus_type);
 
}
 
 
 
module_init(wwhs_bus_init);
 
module_exit(wwhs_bus_exit);
 
MODULE_AUTHOR("wwhs");
 
MODULE_DESCRIPTION("wwhs_bus test");
 
MODULE_LICENSE("GPL");
